blob: c9f27eacc2f1e0a77048b9ad55a02dac1e9136e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import BookmarkPreview from "@/components/dashboard/bookmarks/BookmarkPreview";
import { api } from "@/server/api/client";
export default async function BookmarkPreviewPage({
params,
}: {
params: { bookmarkId: string };
}) {
const bookmark = await api.bookmarks.getBookmark({
bookmarkId: params.bookmarkId,
});
return (
<div className="max-h-screen p-4">
<BookmarkPreview initialData={bookmark} />
</div>
);
}
|